
import 'package:myturngame/bean/role.dart';
import 'package:myturngame/bean/skill/skill.dart';
import 'package:myturngame/facotry/skill_factory.dart';

class Player extends Role{
  Player(super.name){
    var b = baseAttrList;
    b[AttributeSet.startAttack] = 10;
    b[AttributeSet.startMaxHp] = 50;
    b[AttributeSet.startMaxMp] = 10;
    b[AttributeSet.startSpeed] = 10;
    b[AttributeSet.criticalDamage] = 130;
    attributeSettlement();
    hp = finalMaxHp();
    mp = finalMaxMp();
    // exp = 100;
    skills = [createSkill001(),createSkill002()];
  }

  ///宠物
  Role? pet;
}